package plugin;

import Phase2.Node;
/**
 * 
 * Interface of all visitors 
 * @author Skyler
 *
 */
public interface Visitor 
{	
	/**
	 * 
	 * @param n
	 * Starting Node for broadcasting
	 * @param information
	 * command to  be broadcasted
	 * @return
	 * return value(if have)
	 */
	public Object visit(Node n, Object information) throws InterruptedException;
	
}
